<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>登录</title>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
    <form action="userLogin" method="post" >
    	<table style="margin:0 auto">
    	<tr>
    	<td>用户名或邮箱</td>
    	<td><input type="text" name="loginName"/></td>
    	</tr>
    	
    	<tr>
    	<td>密码</td>
    	<td><input type="password" name="password"/></td>
    	</tr>
    	
    	<tr>
    	<td><input type="submit" value="登录"/></td>
    	<td><a href="register.jsp">注册</a></td>
    	</tr>
    	
    	</table>
    </form>
    <form action="testLong" method="post">
    	<s:hidden name="id" value="12">12</s:hidden>
    	<input type="submit" value="Long"/>
    </form>
  </body>
</html>
